{% extends "base.html" %}

{% block content %}
<div class="container mt-5">
    <div class="card shadow-sm">
        <div class="card-header bg-primary text-white">
            <h4 class="mb-0">{{ topic.name }} 进度详情</h4>
        </div>
        <div class="card-body">
            <table class="table table-bordered">
                <thead>
                    <tr>
                        <th>阶段</th>
                        <th>提交时间</th>
                        <th>状态</th>
                        <th>评语</th>
                    </tr>
                </thead>
                <tbody>
                    {% for progress in progresses %}
                        <tr>
                            <td>{{ progress.stage }}</td>
                            <td>{{ progress.submitted_at }}</td>
                            <td>{{ progress.status }}</td>
                            <td>{{ progress.comment }}</td>
                        </tr>
                    {% endfor %}
                </tbody>
            </table>
        </div>
    </div>
</div>
{% endblock %}